﻿using System;

namespace Remoting.Reactive
{
    internal sealed class RemotableDisposableProxy : RemotableProxyBase, IRemotableDisposableProxy
    {
        private bool _disposed;

        public void Dispose()
        {
            if (!_disposed)
            {
                Dispose(true);
                GC.SuppressFinalize(this);
                _disposed = true;
            }
        }
    }
}
